//覆盖一些element-ui样式

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type='file'] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px $around-padding;
    width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 $around-padding;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

//暂时性解决dialog 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
  border-radius: 4px;

  .el-dialog__header {
    border-radius: 4px 4px 0 0
  }
}

//文章页textarea修改样式
.article-textarea {
  textarea {
    padding-right: 40px;
    resize: none;
    border: none;
    border-radius: 0px;
    border-bottom: 1px solid #bfcbd9;
  }
}

//element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

//dropdown
.el-dropdown-menu {
  a {
    display: block;
  }
}

// button
.el-button+.el-button {
  margin-left: 2px;
}

.el-button--mini,
.el-button--mini.is-round {
  padding: 5px $around-padding;
}

//input
.el-input-number.is-controls-right {
  .el-input__inner {
    padding-left: $input-padding;
    padding-right: 40px;

  }
}

.el-input__inner {
  padding: 0 $input-padding;
}

.el-input-group__prepend {
  color: #020202 !important;
  padding: 0 5px;
  text-align: right;
  //font-size: 14px;
  // 企管
}

//table
.el-table {
  margin-top: $around-padding;
  // 企管
  // font-size: 12px;
  font-size: 14px;

  .el-input--mini .el-input__inner {
    height: 24px;
    line-height: 24px;
  }

  .cell {
    // line-height: 20px;
    line-height: 18px;
  }

  // 企管
  th {
    color: #333;
    background: #45a1ff57 !important;
  }

  th,
  td {
    border-color: $border-color !important;
  }
}

.el-table--border,
.el-table--group {
  border-color: $border-color;
}

.el-table--mini td,
.el-table--mini th {
  padding: 5px 0;
}

.el-table--border::after,
.el-table--group::after,
.el-table::before {
  background: $border-color;
}

.el-table--striped .el-table__body tr.el-table__row--striped td {
  background: $table-striped-color;
}

.el-table--enable-row-hover .el-table__body tr {
  &:hover>td {
    background: $table-striped-color;
  }
}

// 企管
.el-table .cell,
.el-table th div,
.el-table--border td:first-child .cell,
.el-table--border th:first-child .cell {
  padding-left: 5px;
}

.el-table .cell,
.el-table th div {
  padding-right: 5px;
  user-select: text;
}

// 企管

//dialog
.el-dialog__header {
  padding: $around-padding 20px;
}

.el-dialog__body {
  padding: $around-padding 20px;
}

.el-dialog__footer {
  padding: 0 20px $around-padding;
}

//datepicker

.el-date-editor .el-range-separator {
  width: 8%;
}

.el-date-editor--daterange.el-input,
.el-date-editor--daterange.el-input__inner,
.el-date-editor--timerange.el-input,
.el-date-editor--timerange.el-input__inner {
  width: 220px;
}

// .el-range-editor--mini.el-input__inner {
//   height: 25px;
// }
.el-range-editor.el-input__inner {
  padding: 1px 5px;
}

// form
.el-form-item--mini.el-form-item,
.el-form-item--small.el-form-item {
  margin-bottom: 12px;
}

.el-form-item__label {
  font-size: 13px;
  padding: 0 6px 0 0;
}

//企管
.el-textarea__inner {
  font-size: 14px;
}

.el-table .el-form-item--mini.el-form-item,
.el-form-item--small.el-form-item {
  margin-bottom: 0;
}

.el-divider--horizontal {
  margin: 12px 0;
}

//input[type="number"]  去除上下箭头
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

input[type='number'] {
  -moz-appearance: textfield;
}